﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CWB.Common.Utilities
{
    public class DateTimeHelper
    {
        public static string getDateTimeStringForSqlite(DateTime dt)
        {
            string rtn = dt.ToString("yyyy-MM-dd HH:mm:ss");
            return rtn;
        }

        public static string getDateTimeStringForSqliteBetween(DateTime dtFrom, DateTime dtTo)
        {
            string dtstart = dtFrom.ToString("yyyy-MM-dd HH:mm:ss");
            string dtend = dtTo.ToString("yyyy-MM-dd HH:mm:ss");
            string rtn = string.Format("{0} and {1}");
            return rtn;
        }
    
    
    }
}
